package com.mazewei.dev.entity;

/**
 * 班级实体类 - 对应数据库class表
 */
public class Class {
    private String classNum;            // 班级编号 (唯一)
    private String className;           // 班级名称
    private Integer maxStudents;        // 人数上限
    private Integer minStudents;        // 人数下限
    private String startDate;           // 开始日期
    private String endDate;             // 结束日期
    private String remark;              // 备注
    
    public Class() {}
    
    // Getter and Setter methods
    public String getClassNum() {
        return classNum;
    }
    
    public void setClassNum(String classNum) {
        this.classNum = classNum;
    }
    
    public String getClassName() {
        return className;
    }
    
    public void setClassName(String className) {
        this.className = className;
    }
    
    public Integer getMaxStudents() {
        return maxStudents;
    }
    
    public void setMaxStudents(Integer maxStudents) {
        this.maxStudents = maxStudents;
    }
    
    public Integer getMinStudents() {
        return minStudents;
    }
    
    public void setMinStudents(Integer minStudents) {
        this.minStudents = minStudents;
    }
    
    public String getStartDate() {
        return startDate;
    }
    
    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }
    
    public String getEndDate() {
        return endDate;
    }
    
    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }
    
    public String getRemark() {
        return remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }
    
    @Override
    public String toString() {
        return "Class{" +
                "classNum='" + classNum + '\'' +
                ", className='" + className + '\'' +
                ", maxStudents=" + maxStudents +
                ", minStudents=" + minStudents +
                ", startDate='" + startDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}